package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI4ABS;

import java.util.Scanner;

public class Views {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Nhamang mang = new Nhamang();
		Controllers controllers = new Controllers();
		System.out.println("Nhap ten nha mang: ");
		mang.setTen(sc.nextLine());
		System.out.println("Chon bang tan mon dang ky 1.CDMA/2.WCDMA/3.GSM:");
		sc = new Scanner(System.in);
		mang.setBangtan(sc.nextInt());
		System.out.println("Chon tan so muon dang ki 1. 900 Mhz – 902 Mhz/2. 903 Mhz – 905 Mhz/3. 906 Mhz – 908 Mhz");
		mang.setTanso(sc.nextInt());
		controllers.Resgiter(mang);
	}
}
